import React, { useEffect, useState } from 'react'
import { getTagConfigList } from '@/services/tag'
import EntityType from '@/pages/resource/organization/components/addOrganization/EntityType'
import EventType from '@/pages/resource/organization/components/addOrganization/EventType'

const addOrganization = (props) => {
  return (
    <div>
      {props.match.params.type === '0' ? (
        <EntityType id={props.match.params.id}></EntityType>
      ) : (
        <EventType id={props.match.params.id}></EventType>
      )}
    </div>
  )
}
export default addOrganization
